#include "../afw/afwwin.h"

using namespace one_rag;

int main ()
{
    App theApp;
    PopupWindow wnd;
    wnd.Create(CW_USEDEFAULT,0,352*16/9,352,TEXT("The Title"));
    RichTextView view;
    view.Create(wnd);

    String text("{\\rtf1\\ansi{\\fonttbl\\f0\\fswiss Helvetica;}\\f0\\pard "\
        "This is some {\\b bold} text.\\par"\
        "}");
    view.AddText(text);
    view.AddText(TEXT("Hello World!\r\n"));
    view.AddText(TEXT("Second Line\r\n"));
    return theApp.RunModal();
}
